package com.vert.compontent;

import com.alibaba.fastjson.JSONObject;
import com.vert.handler.impl.HttpHandlerImpl;

/**
 * @Classname HandlerCommon
 * @Description TODO
 * @Date 2022/5/25 0:38
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public class HandlerCommon extends HttpHandlerImpl {

  @Override
  public Object bedoreHandler(Object[] args) {
    System.out.println("前置执行"+ JSONObject.toJSONString(args));
    return null;
  }

  @Override
  public Object afterHandler(Object[] args, Object obj) {
    System.out.println("后置执行"+JSONObject.toJSONString(obj));
    return obj;
  }
}
